package cn.itcalvin.sncoal.cth.pojo.common;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class RespCommon {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "子节点")
    private List<RespCommon> children;
}
